<%--
  Created by IntelliJ IDEA.
  User: fire'ge
  Date: 2022/4/6
  Time: 20:49
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>添加博客</title>
    <link rel="stylesheet" href="/jspdemo/css/AddArticle.css" type="text/css">
</head>
<body>
<div>
    <table id="name-label">
        <tr>
            <td align="center" colspan="4">你好！${user.name}
                <a href="/jspdemo/exitServlet">退出</a>  </td>

        </tr>
    </table>
    <form action="/jspdemo/addArticleServlet" method="post">
        <table>
            <tr>
                <td>
                    博客题目：<input type="text" name="topic">
                </td>
            </tr>
            <tr>
                <td>
                    博客内容：<textarea name="text" id="articleText"></textarea>
                </td>
            </tr>
            <tr>
                <td>
                    <input type="submit" value="提  交" class="button">
                </td>
            </tr>
        </table>
    </form>
</div>

</body>
</html>
